package com.tfjybj.itoo.exam.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * DatumModel
 * 资料表
 *
 * @author 贾建清 
 * @version 2.0.0
 * @since 2.0.0 2018-12-08 12:31:48
 */
@ApiModel(value = "DatumModel:资料表")
@Data
@NoArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
public class DatumModel implements Serializable {

    //region 模板逆向生产来自DatumEntity的属性
	/**
	 * id
	 */
	@ApiModelProperty(value = "datum主键")
	@Column(name = "id")
	private String id;
   	/**
	 * 题型id
	 */
	@ApiModelProperty(value = "题型id",required = true)
	private String questionTypeId;

	/**
	 * 存放路径
	 */
    @ApiModelProperty(value = "存放路径")
	private String datumUrl;

	/**
	 * 资料名称
	 */
    @ApiModelProperty(value = "资料名称")
	private String datumName;

    //endregion

     /* *****************************以下是非模板生成的内容************************************ */
}
